#step1
mkdir tmp
cd ./tmp/
git clone https://gitee.com/luo_zhi_cheng/mdvc.git
cd ./mdvc/

#step2: use new version
chuwei_dir=./CV/chuwei
dvc pull ${chuwei_dir}/data.dvc
dvc pull ${chuwei_dir}/model/chuwei_20240529.pt.dvc

#step3: use old version
rm -rf ${chuwei_dir}/data
rm ${chuwei_dir}/model/chuwei_20240529.pt
git checkout f592953098587cca2053cd80b813db48b43f2e97
dvc pull ${chuwei_dir}/data.dvc
dvc pull ${chuwei_dir}/model/chuwei_20240528.pt.dvc

#step3
cd ../../
rm -rf ./tmp/
